// import Vuex from 'vuex'
// const modules = require.context('./modules', false, /\.js$/)
// export default new Vuex.Store({
//     modules: Object.assign({}, ...modules.keys().map(key => ({
//         [key.replace(/(^\.\/|\.js$)/g, '')]: modules(key).default
//     })))
// })

import { createStore } from 'vuex'
import app from './modules/user.js'

const store = createStore({
    modules: {
        app
    },
    state: () => ({}),
    mutations: {},
    actions: {},
    getters: {}
})
export default store
